#ifndef MAINSCENE_H
#define MAINSCENE_H

#include <QWidget>
#include<01Config.h>
#include<QIcon>
#include<QPainter>

QT_BEGIN_NAMESPACE
namespace Ui { class MainScene; }
QT_END_NAMESPACE

class MainScene : public QWidget
{
    Q_OBJECT

public:
    MainScene(QWidget *parent = nullptr);
    //初始化主场景
    void initSence();

    //绘制背景
    void paintEvent(QPaintEvent *event);



    ~MainScene();



private:
    Ui::MainScene *ui;
};
#endif // MAINSCENE_H
